home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Text⁄Files / think c pap ƒ / think-c-pap-routines-h.txt^M < prev   
Encoding:
Text File  |  1989-02-05  |  1010 b   |  37 lines  |  [TEXT/MACA]

  1. cat think-c-pap-routines-h.txt
  2. #include    "ResourceMgr.h"
  3. #include    "hfs.h"
  4. #include    "OSUtil.h"
  5. /*
  6. #define     TEST
  7. */
  8. typedef struct
  9.         { long      systemStuff;
  10.           Str255    statusStr;
  11.         } papStatusRec, *papStatusPtr;
  12.  
  13.                 
  14. extern pascal short PAPOpen();
  15. extern pascal short PAPRead();
  16. extern pascal short PAPWrite();
  17. extern pascal short PAPClose();
  18. extern pascal short PAPStatus();
  19. extern short PAPLoad();
  20. extern short PAPUnload();
  21. extern Handle       pap;            /* these static vars don't have to be locked */
  22. extern Ptr          papPtr;         /* points to locked PAP mgr */
  23. extern StringPtr    lwNameP,        /* handle to locked entity name */
  24.                     lwTypeP,
  25.                     lwZoneP;
  26.  
  27. extern Fatal();                     /* takes two parameters: Str255, short */
  28. extern PrintErr();
  29. #define HFS FSFCBLen
  30. #ifdef  TEST
  31. #include <AppleTalk.h>
  32.  
  33. extern  void TestDelay();
  34. extern  WindowPtr   dbgWind;
  35. #define DELAY_FACTOR    300
  36. #endif  TEST
  37. command: